package com.eyas.business.service.coachinfo;

import com.eyas.business.model.jdbcEntity.table.CoachInfo;
import com.eyas.business.model.pojo.coachinfo.QueryParamDTO;
import com.eyas.business.model.pojo.coachinfo.QueryResultDTO;
import com.eyas.business.model.pojo.formselects.FormSelectsResult;
import com.eyas.core.model.page.PageResult;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @Auther: 王龙龙
 * @Date: 2019/3/7 17:47
 * @Description:
 */
public interface CoachInfoService {
    /**
     * 教练信息列表
     * @param dto
     * @param page
     * @param limit
     * @return
     */
    public PageResult<QueryResultDTO> queryCoachInfoForPage(QueryParamDTO dto, int page, int limit);

    /**
     * 修改有效状态
     * @param coachid
     */
    public void changeValidflag(int coachid);

    public QueryResultDTO getCoachInfoById(Integer coachid);

    public void saveCoachInfo(QueryParamDTO dto, HttpSession session);

    /**
     * 获取coachinfo select列表
     * @return
     */
    public List<CoachInfo> queryCoachInfoList();

    /**
     * 获取
     * @param recordid
     * @return
     */
    public FormSelectsResult queryAssistantList(Integer recordid);
}
